package com.yang.proxy;

public class DriverProxy implements Driver {
	public Driver driver;
	public DriverProxy(){
		this.driver = new DefaultDriver();
	}
	public DriverProxy(Driver driver){
		this.driver = driver;
	}
	@Override
	public void doDriver(String driverName) {
		this.driver.doDriver(driverName);
	}

}
